-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ Serialize current video frame into a poster
on the <video>
#794
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Capturing videos via request interception can be tricky and highly depends on the customers server. Percy's infrastructure will also not play videos for screenshots so it doesn't make too much sense to capture large resources like vidoes. This feature will capture the current frame of the videos on page and turn them into a poster image for the video. This is so there's something to display on the `<video>` element when capturing a screenshot in Percy's browsers. It's possible for this to introduce flakes since this will capture the current frame of the video. If the video is playing when `percySnapshot` is called, we're going to capture different states of the video. In these cases the custoemr should provide their own `poster`, which will result in the most stable screenshots anyways.
Robdel12
force-pushed
the
rd/serialize-video-poster
branch
8 times, most recently
from
February 24, 2022 21:42
5e2e8bc
to
ed1e093
Compare
Turns out firefox on ubuntu can't play mpeg videos due to licensing. Swapping to a webm video makes the tests pass in CI > Note: Firefox doesn't include MPEG decoding (it's patented), so if that isn't already in your distribution, you might need to install additional software. Not sure if there are useful links here or whether a Linux user will need to jump in: Fix common audio and video issues. https://support.mozilla.org/en-US/questions/1227605#answer-1138231
Robdel12
force-pushed
the
rd/serialize-video-poster
branch
from
February 24, 2022 21:48
ed1e093
to
ed01402
Compare
wwilsman
reviewed
Feb 24, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two suggestions
Robdel12
force-pushed
the
rd/serialize-video-poster
branch
from
February 24, 2022 22:07
265d606
to
77e7180
Compare
wwilsman
approved these changes
Feb 24, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎮
bors
referenced
this pull request
in rust-lang/crates.io
Feb 28, 2022
Update dependency @percy/cli to v1.0.0-beta.76 [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [`@percy/cli](https://github.com/percy/cli)` | [`1.0.0-beta.75` -> `1.0.0-beta.76`](https://renovatebot.com/diffs/npm/`@percy%2fcli/1.0.0-beta.75/1.0.0-beta.76)` | [![age](https://badges.renovateapi.com/packages/npm/`@percy%2fcli/1.0.0-beta.76/age-slim)](https://docs.renovatebot.com/merge-confidence/)` | [![adoption](https://badges.renovateapi.com/packages/npm/`@percy%2fcli/1.0.0-beta.76/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)` | [![passing](https://badges.renovateapi.com/packages/npm/`@percy%2fcli/1.0.0-beta.76/compatibility-slim/1.0.0-beta.75)](https://docs.renovatebot.com/merge-confidence/)` | [![confidence](https://badges.renovateapi.com/packages/npm/`@percy%2fcli/1.0.0-beta.76/confidence-slim/1.0.0-beta.75)](https://docs.renovatebot.com/merge-confidence/)` | --- ### Release Notes <details> <summary>percy/cli</summary> ### [`v1.0.0-beta.76`](https://github.com/percy/cli/releases/v1.0.0-beta.76) [Compare Source](https://github.com/percy/cli/compare/v1.0.0-beta.75...v1.0.0-beta.76) <!-- Release notes generated using configuration in .github/release.yml at master --> #### ✨ Enhancements - ♻️ Core server improvements by [`@​wwilsman](https://github.com/wwilsman)` in [https://github.com/percy/cli/pull/781](https://github.com/percy/cli/pull/781) - ✨ Automatically handle json bodies in client request util by [`@​wwilsman](https://github.com/wwilsman)` in [https://github.com/percy/cli/pull/780](https://github.com/percy/cli/pull/780) - ✨ Serialize current video frame into a `poster` on the `<video>` by [`@​Robdel12](https://github.com/Robdel12)` in [https://github.com/percy/cli/pull/794](https://github.com/percy/cli/pull/794) #### 🐛 Bug Fixes - 🐛 Add percy config mapping for cli-exec port flag by [`@​wwilsman](https://github.com/wwilsman)` in [https://github.com/percy/cli/pull/793](https://github.com/percy/cli/pull/793) #### ⬆️⬇️ Dependency Updates - ⬆️ Bump ws from 8.4.2 to 8.5.0 by [`@​dependabot](https://github.com/dependabot)` in [https://github.com/percy/cli/pull/775](https://github.com/percy/cli/pull/775) - ⬆️ Bump karma from 6.3.15 to 6.3.16 by [`@​dependabot](https://github.com/dependabot)` in [https://github.com/percy/cli/pull/777](https://github.com/percy/cli/pull/777) - ⬆️ Bump [`@​babel/core](https://github.com/babel/core)` from 7.17.0 to 7.17.2 by [`@​dependabot](https://github.com/dependabot)` in [https://github.com/percy/cli/pull/776](https://github.com/percy/cli/pull/776) - ⬆️ Bump follow-redirects from 1.14.7 to 1.14.8 by [`@​dependabot](https://github.com/dependabot)` in [https://github.com/percy/cli/pull/778](https://github.com/percy/cli/pull/778) - ⬆️ Bump rollup from 2.67.1 to 2.67.2 by [`@​dependabot](https://github.com/dependabot)` in [https://github.com/percy/cli/pull/779](https://github.com/percy/cli/pull/779) - ⬆️ Bump [`@​babel/cli](https://github.com/babel/cli)` from 7.17.0 to 7.17.3 by [`@​dependabot](https://github.com/dependabot)` in [https://github.com/percy/cli/pull/789](https://github.com/percy/cli/pull/789) - ⬆️ Bump rollup from 2.67.2 to 2.67.3 by [`@​dependabot](https://github.com/dependabot)` in [https://github.com/percy/cli/pull/788](https://github.com/percy/cli/pull/788) **Full Changelog**: percy/cli@v1.0.0-beta.75...v1.0.0-beta.76 </details> --- ### Configuration 📅 **Schedule**: "before 3am on Monday" (UTC). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/rust-lang/crates.io).
kodiakhq bot
referenced
this pull request
in carbon-design-system/carbon-for-ibm-dotcom-nextjs-test
Apr 28, 2022
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@percy/dom](https://github.com/percy/cli) | [`1.0.0-beta.74` -> `1.1.0`](https://renovatebot.com/diffs/npm/@percy%2fdom/1.0.0-beta.74/1.1.0) | [![age](https://badges.renovateapi.com/packages/npm/@percy%2fdom/1.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@percy%2fdom/1.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@percy%2fdom/1.1.0/compatibility-slim/1.0.0-beta.74)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@percy%2fdom/1.1.0/confidence-slim/1.0.0-beta.74)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>percy/cli</summary> ### [`v1.1.0`](https://github.com/percy/cli/releases/v1.1.0) [Compare Source](https://github.com/percy/cli/compare/v1.0.8...v1.1.0) #### What's Changed ##### ✨ Enhancements - ✨ Update asset discovery browser to Chromium v96.0.4664.0 by [@​Robdel12](https://github.com/Robdel12) in [https://github.com/percy/cli/pull/896](https://github.com/percy/cli/pull/896) ##### 🐛 Bug Fixes - 🐛 Fix Chrome Revision script by [@​Robdel12](https://github.com/Robdel12) in [https://github.com/percy/cli/pull/895](https://github.com/percy/cli/pull/895) ##### ⬆️⬇️ Dependency Updates - ⬆️ Bump jasmine from 4.0.2 to 4.1.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/891](https://github.com/percy/cli/pull/891) - ⬆️ Bump karma from 6.3.17 to 6.3.18 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/888](https://github.com/percy/cli/pull/888) - ⬆️ Bump [@​rollup/plugin-commonjs](https://github.com/rollup/plugin-commonjs) from 21.0.3 to 21.1.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/889](https://github.com/percy/cli/pull/889) - ⬆️ Bump [@​rollup/plugin-node-resolve](https://github.com/rollup/plugin-node-resolve) from 13.1.3 to 13.2.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/890](https://github.com/percy/cli/pull/890) - ⬆️ Bump rollup from 2.70.1 to 2.70.2 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/892](https://github.com/percy/cli/pull/892) - ⬆️ Bump karma-jasmine from 4.0.2 to 5.0.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/887](https://github.com/percy/cli/pull/887) - ⬆️ Bump yaml from 2.0.0 to 2.0.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/893](https://github.com/percy/cli/pull/893) **Full Changelog**: percy/cli@v1.0.8...v1.1.0 ### [`v1.0.8`](https://github.com/percy/cli/releases/v1.0.8) [Compare Source](https://github.com/percy/cli/compare/v1.0.7...v1.0.8) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### 🐛 Bug Fixes - 🐛 Make config normalize skip option behave as expected by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/885](https://github.com/percy/cli/pull/885) **Full Changelog**: percy/cli@v1.0.7...v1.0.8 ### [`v1.0.7`](https://github.com/percy/cli/releases/v1.0.7) [Compare Source](https://github.com/percy/cli/compare/v1.0.6...v1.0.7) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### 🐛 Bug Fixes - 🐛 Check for alternate casing when determining dom snapshot syntax by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/883](https://github.com/percy/cli/pull/883) ##### ⬆️⬇️ Dependency Updates - ⬆️ Bump yaml from 1.10.2 to 2.0.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/871](https://github.com/percy/cli/pull/871) **Full Changelog**: percy/cli@v1.0.6...v1.0.7 ### [`v1.0.6`](https://github.com/percy/cli/releases/v1.0.6) [Compare Source](https://github.com/percy/cli/compare/v1.0.5...v1.0.6) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### ✨ Enhancements - ✨[@​percy/config](https://github.com/percy/config) util improvements by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/877](https://github.com/percy/cli/pull/877) - ✨ Autoload CLI plugin from the current working directory by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/878](https://github.com/percy/cli/pull/878) ##### 🐛 Bug Fixes - 🐛 Fix readme generation script by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/868](https://github.com/percy/cli/pull/868) ##### 🏗 Maintenance - 🔨 Repo script fixups by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/879](https://github.com/percy/cli/pull/879) ##### ⬆️⬇️ Dependency Updates - ⬆️👷 Bump actions/stale from 4 to 5 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/876](https://github.com/percy/cli/pull/876) - ⬆️ Bump karma-jasmine from 4.0.1 to 4.0.2 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/873](https://github.com/percy/cli/pull/873) - ⬆️👷 Bump actions/download-artifact from 2 to 3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/875](https://github.com/percy/cli/pull/875) - ⬆️👷 Bump actions/upload-artifact from 2 to 3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/874](https://github.com/percy/cli/pull/874) - ⬆️ Bump [@​babel/core](https://github.com/babel/core) from 7.17.8 to 7.17.9 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/872](https://github.com/percy/cli/pull/872) - ⬆️ Bump eslint-plugin-import from 2.25.4 to 2.26.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/870](https://github.com/percy/cli/pull/870) **Full Changelog**: percy/cli@v1.0.5...v1.0.6 ### [`v1.0.5`](https://github.com/percy/cli/releases/v1.0.5) [Compare Source](https://github.com/percy/cli/compare/v1.0.4...v1.0.5) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### 🐛 Bug Fixes - 🐛 Core snapshot validation bug fixes by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/866](https://github.com/percy/cli/pull/866) **Full Changelog**: percy/cli@v1.0.4...v1.0.5 ### [`v1.0.4`](https://github.com/percy/cli/releases/v1.0.4) [Compare Source](https://github.com/percy/cli/compare/v1.0.3...v1.0.4) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### 🐛 Bug Fixes - ✅ More test adjustments by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/865](https://github.com/percy/cli/pull/865) ##### ⬆️⬇️ Dependency Updates - ⬆️ Bump tsd from 0.19.1 to 0.20.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/859](https://github.com/percy/cli/pull/859) - ⬆️ Bump ajv from 8.10.0 to 8.11.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/847](https://github.com/percy/cli/pull/847) - ⬆️ Bump minimist from 1.2.5 to 1.2.6 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/844](https://github.com/percy/cli/pull/844) - ⬆️ Bump globby from 11.0.4 to 13.1.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/758](https://github.com/percy/cli/pull/758) **Full Changelog**: percy/cli@v1.0.3...v1.0.4 ### [`v1.0.3`](https://github.com/percy/cli/releases/v1.0.3) [Compare Source](https://github.com/percy/cli/compare/v1.0.2...v1.0.3) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### 🐛 Bug Fixes - 🐛 Audit package file exports by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/863](https://github.com/percy/cli/pull/863) **Full Changelog**: percy/cli@v1.0.2...v1.0.3 ### [`v1.0.2`](https://github.com/percy/cli/releases/v1.0.2) [Compare Source](https://github.com/percy/cli/compare/v1.0.1...v1.0.2) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### 🐛 Bug Fixes - ✅ Include all core test helpers in packaged files by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/862](https://github.com/percy/cli/pull/862) **Full Changelog**: percy/cli@v1.0.1...v1.0.2 ### [`v1.0.1`](https://github.com/percy/cli/releases/v1.0.1) [Compare Source](https://github.com/percy/cli/compare/v1.0.0...v1.0.1) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### 🐛 Bug Fixes - 🐛 Remove relative path from package files by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/858](https://github.com/percy/cli/pull/858) **Full Changelog**: percy/cli@v1.0.0...v1.0.1 ### [`v1.0.0`](https://github.com/percy/cli/releases/v1.0.0) [Compare Source](https://github.com/percy/cli/compare/v1.0.0-beta.76...v1.0.0) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### 💥 Breaking Changes - ♻️ Move packages to ESM by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/852](https://github.com/percy/cli/pull/852) - 💥 New minimum Node version of 14 to align with currently supported LTS releases ##### ✨ Enhancements - ✨ Use default widths instead of throwing an error when missing by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/808](https://github.com/percy/cli/pull/808) - ♻️ Improve build failure handling by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/805](https://github.com/percy/cli/pull/805) - ✨ Minor [@​percy/config](https://github.com/percy/config) improvements by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/804](https://github.com/percy/cli/pull/804) - ✨ Accept alternate core snapshot syntaxes by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/809](https://github.com/percy/cli/pull/809) - ✨ Introduce the ability to abort requests from specificed hostnames (`disallowedHostnames`) by [@​Robdel12](https://github.com/Robdel12) in [https://github.com/percy/cli/pull/823](https://github.com/percy/cli/pull/823) - ♻️ Update package exports and refactor test helpers by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/830](https://github.com/percy/cli/pull/830) - ✨ Add sdk-utils waitForPercyIdle helper by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/831](https://github.com/percy/cli/pull/831) - ✨ Throw an error when a static server directory does not exist by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/832](https://github.com/percy/cli/pull/832) - ✨ Allow alternate snapshot syntaxes to be cancelable by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/833](https://github.com/percy/cli/pull/833) - ✨ Allow a function to gather snapshots using alternate syntaxes by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/834](https://github.com/percy/cli/pull/834) - ✨ Automatically include package information with CLI commands by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/850](https://github.com/percy/cli/pull/850) ##### 🐛 Bug Fixes - 🐛 Fix core snapshot method compatibility with cli-snapshot command by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/818](https://github.com/percy/cli/pull/818) - 🐛 Insert serialized CSSOM `style` tag after CSSOM `ownerNode` by [@​Robdel12](https://github.com/Robdel12) in [https://github.com/percy/cli/pull/843](https://github.com/percy/cli/pull/843) - 🐛 Fix duplicate resource URL issues with `snapshot` method by [@​Robdel12](https://github.com/Robdel12) in [https://github.com/percy/cli/pull/849](https://github.com/percy/cli/pull/849) - 🐛 Wrap `serializeVideos` in try/catch to catch security errors by [@​Robdel12](https://github.com/Robdel12) in [https://github.com/percy/cli/pull/848](https://github.com/percy/cli/pull/848) - 🐛 Fix supressed validation error causing options to not be scrubbed by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/853](https://github.com/percy/cli/pull/853) ##### 🏗 Maintenance - ✅ Update install unit tests to use mock filesystem by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/807](https://github.com/percy/cli/pull/807) - ♻️ Move browser timeout default to other launch option defaults by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/806](https://github.com/percy/cli/pull/806) - ♻️ Update cli-snapshot command to use new core snapshot syntaxes by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/819](https://github.com/percy/cli/pull/819) ##### ⬆️⬇️ Dependency Updates - ⬆️👷 Bump actions/setup-node from 2 to 3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/799](https://github.com/percy/cli/pull/799) - ⬆️ Bump [@​rollup/plugin-babel](https://github.com/rollup/plugin-babel) from 5.3.0 to 5.3.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/797](https://github.com/percy/cli/pull/797) - ⬆️ Bump [@​rollup/plugin-commonjs](https://github.com/rollup/plugin-commonjs) from 21.0.1 to 21.0.2 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/798](https://github.com/percy/cli/pull/798) - ⬆️ Bump karma from 6.3.16 to 6.3.17 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/800](https://github.com/percy/cli/pull/800) - ⬆️ Bump [@​babel/core](https://github.com/babel/core) from 7.17.2 to 7.17.5 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/787](https://github.com/percy/cli/pull/787) - ⬆️ Bump [@​babel/cli](https://github.com/babel/cli) from 7.17.3 to 7.17.6 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/801](https://github.com/percy/cli/pull/801) - ⬆️👷 Bump actions/checkout from 2 to 3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/813](https://github.com/percy/cli/pull/813) - ⬆️ Bump rollup from 2.67.3 to 2.70.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/811](https://github.com/percy/cli/pull/811) - ⬆️ Bump ajv from 8.9.0 to 8.10.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/764](https://github.com/percy/cli/pull/764) - ⬆️ Bump karma-chrome-launcher from 3.1.0 to 3.1.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/827](https://github.com/percy/cli/pull/827) - ⬆️ Bump rollup from 2.70.0 to 2.70.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/826](https://github.com/percy/cli/pull/826) - ⬆️ Bump mime-types from 2.1.34 to 2.1.35 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/825](https://github.com/percy/cli/pull/825) - ⬆️👷 Bump actions/cache from 2 to 3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/838](https://github.com/percy/cli/pull/838) - ⬆️ Bump mime-types from 2.1.34 to 2.1.35 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/837](https://github.com/percy/cli/pull/837) - ⬆️ Bump [@​babel/core](https://github.com/babel/core) from 7.17.5 to 7.17.8 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/835](https://github.com/percy/cli/pull/835) - ⬆️ Bump [@​babel/register](https://github.com/babel/register) from 7.17.0 to 7.17.7 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/836](https://github.com/percy/cli/pull/836) - ⬆️ Bump [@​rollup/plugin-commonjs](https://github.com/rollup/plugin-commonjs) from 21.0.2 to 21.0.3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/846](https://github.com/percy/cli/pull/846) **Full Changelog**: percy/cli@v1.0.0-beta.76...v1.0.0 ### [`v1.0.0-beta.76`](https://github.com/percy/cli/releases/v1.0.0-beta.76) [Compare Source](https://github.com/percy/cli/compare/v1.0.0-beta.75...v1.0.0-beta.76) <!-- Release notes generated using configuration in .github/release.yml at master --> #### ✨ Enhancements - ♻️ Core server improvements by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/781](https://github.com/percy/cli/pull/781) - ✨ Automatically handle json bodies in client request util by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/780](https://github.com/percy/cli/pull/780) - ✨ Serialize current video frame into a `poster` on the `<video>` by [@​Robdel12](https://github.com/Robdel12) in [https://github.com/percy/cli/pull/794](https://github.com/percy/cli/pull/794) #### 🐛 Bug Fixes - 🐛 Add percy config mapping for cli-exec port flag by [@​wwilsman](https://github.com/wwilsman) in [https://github.com/percy/cli/pull/793](https://github.com/percy/cli/pull/793) #### ⬆️⬇️ Dependency Updates - ⬆️ Bump ws from 8.4.2 to 8.5.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/775](https://github.com/percy/cli/pull/775) - ⬆️ Bump karma from 6.3.15 to 6.3.16 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/777](https://github.com/percy/cli/pull/777) - ⬆️ Bump [@​babel/core](https://github.com/babel/core) from 7.17.0 to 7.17.2 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/776](https://github.com/percy/cli/pull/776) - ⬆️ Bump follow-redirects from 1.14.7 to 1.14.8 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/778](https://github.com/percy/cli/pull/778) - ⬆️ Bump rollup from 2.67.1 to 2.67.2 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/779](https://github.com/percy/cli/pull/779) - ⬆️ Bump [@​babel/cli](https://github.com/babel/cli) from 7.17.0 to 7.17.3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/789](https://github.com/percy/cli/pull/789) - ⬆️ Bump rollup from 2.67.2 to 2.67.3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/788](https://github.com/percy/cli/pull/788) **Full Changelog**: percy/cli@v1.0.0-beta.75...v1.0.0-beta.76 ### [`v1.0.0-beta.75`](https://github.com/percy/cli/releases/v1.0.0-beta.75) [Compare Source](https://github.com/percy/cli/compare/v1.0.0-beta.74...v1.0.0-beta.75) <!-- Release notes generated using configuration in .github/release.yml at master --> #### 🐛 Bug Fixes - 🐛 Update `bin/run` to not use an esm dynamic import by [@​Robdel12](https://github.com/Robdel12) in [https://github.com/percy/cli/pull/769](https://github.com/percy/cli/pull/769) #### ⬆️⬇️ Dependency Updates - ⬆️ Bump image-size from 1.0.0 to 1.0.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/731](https://github.com/percy/cli/pull/731) - ⬆️ Bump karma from 6.3.10 to 6.3.12 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/741](https://github.com/percy/cli/pull/741) - ⬆️ Bump node-fetch from 2.6.1 to 2.6.7 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/740](https://github.com/percy/cli/pull/740) - ⬆️ Bump [@​babel/preset-env](https://github.com/babel/preset-env) from 7.16.8 to 7.16.11 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/747](https://github.com/percy/cli/pull/747) - ⬆️ Bump ajv from 8.8.2 to 8.9.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/749](https://github.com/percy/cli/pull/749) - ⬆️ Bump [@​babel/cli](https://github.com/babel/cli) from 7.16.7 to 7.16.8 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/750](https://github.com/percy/cli/pull/750) - ⬆️ Bump jasmine from 4.0.1 to 4.0.2 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/751](https://github.com/percy/cli/pull/751) - ⬆️ Bump [@​babel/register](https://github.com/babel/register) from 7.16.7 to 7.16.9 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/730](https://github.com/percy/cli/pull/730) - ⬆️ Bump rollup from 2.63.0 to 2.67.1 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/759](https://github.com/percy/cli/pull/759) - ⬆️ Bump karma from 6.3.12 to 6.3.15 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/760](https://github.com/percy/cli/pull/760) - ⬆️ Bump trim-off-newlines from 1.0.1 to 1.0.3 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/737](https://github.com/percy/cli/pull/737) - ⬆️ Bump follow-redirects from 1.13.2 to 1.14.7 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/719](https://github.com/percy/cli/pull/719) - ⬆️ Bump [@​babel/cli](https://github.com/babel/cli) from 7.16.8 to 7.17.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/763](https://github.com/percy/cli/pull/763) - ⬆️ Bump karma-rollup-preprocessor from 7.0.7 to 7.0.8 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/762](https://github.com/percy/cli/pull/762) - ⬆️ Bump nock from 13.2.2 to 13.2.4 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/761](https://github.com/percy/cli/pull/761) - ⬆️ Bump [@​babel/register](https://github.com/babel/register) from 7.16.9 to 7.17.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/766](https://github.com/percy/cli/pull/766) - ⬆️ Bump [@​babel/core](https://github.com/babel/core) from 7.16.7 to 7.17.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/765](https://github.com/percy/cli/pull/765) - ⬆️ Bump [@​babel/eslint-parser](https://github.com/babel/eslint-parser) from 7.16.5 to 7.17.0 by [@​dependabot](https://github.com/dependabot) in [https://github.com/percy/cli/pull/767](https://github.com/percy/cli/pull/767) **Full Changelog**: percy/cli@v1.0.0-beta.74...v1.0.0-beta.75 </details> --- ### Configuration 📅 **Schedule**: "every weekend" (UTC). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom-nextjs-test).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What is this?
Capturing videos via request interception can be tricky and highly depends on the customers server that's serving the video. Percy's infrastructure will also not play videos for screenshots so it doesn't make too much sense to capture & store large resources like videos.
This feature will capture the current frame of the videos on page and turn them into a poster image for the video. This is so there's something to display on the
<video>
element when capturing a screenshot in Percy's browsers.It's possible for this to introduce flakes since this will capture the current frame of the video. If the video is playing when
percySnapshot
is called, we're going to capture different states of the video. In these cases the customer should provide their ownposter
, which will result in the most stable screenshots anyways.Will close #774
TODO